package com.shop.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Users entity. @author MyEclipse Persistence Tools
 */

public class Users implements java.io.Serializable
{

	// Fields

	private String idUser;
	private Utype utype;
	private String uno;
	private String uname;
	private String upassword;
	private String urname;
	private String uaddress;
	private String uemail;
	private String usolution;
	private String uanswer;
	private String utelephone;
	private String uidcard;
	private Integer usex;
	private Integer ustate;
	private Set orderses = new HashSet(0);
	private Set collectionses = new HashSet(0);

	// Constructors

	/** default constructor */
	public Users()
	{
	}

	/** minimal constructor */
	public Users(String idUser, String uno, String uname, String upassword,
			String urname)
	{
		this.idUser = idUser;
		this.uno = uno;
		this.uname = uname;
		this.upassword = upassword;
		this.urname = urname;
	}

	/** full constructor */
	public Users(String idUser, Utype utype, String uno, String uname,
			String upassword, String urname, String uaddress, String uemail,
			String usolution, String uanswer, String utelephone,
			String uidcard, Integer usex, Integer ustate, Set orderses,
			Set collectionses)
	{
		this.idUser = idUser;
		this.utype = utype;
		this.uno = uno;
		this.uname = uname;
		this.upassword = upassword;
		this.urname = urname;
		this.uaddress = uaddress;
		this.uemail = uemail;
		this.usolution = usolution;
		this.uanswer = uanswer;
		this.utelephone = utelephone;
		this.uidcard = uidcard;
		this.usex = usex;
		this.ustate = ustate;
		this.orderses = orderses;
		this.collectionses = collectionses;
	}

	// Property accessors

	public String getIdUser()
	{
		return this.idUser;
	}

	public void setIdUser(String idUser)
	{
		this.idUser = idUser;
	}

	public Utype getUtype()
	{
		return this.utype;
	}

	public void setUtype(Utype utype)
	{
		this.utype = utype;
	}

	public String getUno()
	{
		return this.uno;
	}

	public void setUno(String uno)
	{
		this.uno = uno;
	}

	public String getUname()
	{
		return this.uname;
	}

	public void setUname(String uname)
	{
		this.uname = uname;
	}

	public String getUpassword()
	{
		return this.upassword;
	}

	public void setUpassword(String upassword)
	{
		this.upassword = upassword;
	}

	public String getUrname()
	{
		return this.urname;
	}

	public void setUrname(String urname)
	{
		this.urname = urname;
	}

	public String getUaddress()
	{
		return this.uaddress;
	}

	public void setUaddress(String uaddress)
	{
		this.uaddress = uaddress;
	}

	public String getUemail()
	{
		return this.uemail;
	}

	public void setUemail(String uemail)
	{
		this.uemail = uemail;
	}

	public String getUsolution()
	{
		return this.usolution;
	}

	public void setUsolution(String usolution)
	{
		this.usolution = usolution;
	}

	public String getUanswer()
	{
		return this.uanswer;
	}

	public void setUanswer(String uanswer)
	{
		this.uanswer = uanswer;
	}

	public String getUtelephone()
	{
		return this.utelephone;
	}

	public void setUtelephone(String utelephone)
	{
		this.utelephone = utelephone;
	}

	public String getUidcard()
	{
		return this.uidcard;
	}

	public void setUidcard(String uidcard)
	{
		this.uidcard = uidcard;
	}

	public Integer getUsex()
	{
		return this.usex;
	}

	public void setUsex(Integer usex)
	{
		this.usex = usex;
	}

	public Integer getUstate()
	{
		return this.ustate;
	}

	public void setUstate(Integer ustate)
	{
		this.ustate = ustate;
	}

	public Set getOrderses()
	{
		return this.orderses;
	}

	public void setOrderses(Set orderses)
	{
		this.orderses = orderses;
	}

	public Set getCollectionses()
	{
		return this.collectionses;
	}

	public void setCollectionses(Set collectionses)
	{
		this.collectionses = collectionses;
	}

}